<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			uni.getStorage({
				key: 'token',
				success: function(res) {
					this.token = res.data
					console.log(res.data);
				}
			});
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	.button {
		font-size: 28rpx;
		width: 168rpx;
		background: linear-gradient( 90deg, #2878FF 0%, #74BEFF 100%);
		height: 80rpx;
		line-height: 80rpx;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		color: white;
		margin: 0;
	}
	.button:active{
		opacity: 0.8;
	}
	.buttonRS {
		font-size: 28rpx;
		width: 168rpx;
		background: linear-gradient( 90deg, #FFA928 0%, #FFBA74 100%);
		height: 80rpx;
		line-height: 80rpx;
		border-radius: 8rpx 8rpx 8rpx 8rpx;
		color: white;
		margin: 0;
	}
	.buttonRS:active{
		opacity: 0.8;
	}
</style>